Terraform Input Variable (string, number, bool, list, map...) | How to use Terraform Input Variable

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 65

  • @leandrojpg
    @leandrojpg Год назад +1

    What a good heart you have, I didn't know anything and the terraform documentation seems confusing to me you put things the easy way. Thank you, may God give you strength to continue helping us

  • @forexmeter3900
    @forexmeter3900 2 года назад +3

    You explain very well, and you take your time unlike other instructors who rush through the presentation and it's hard to for along. Keep up the good work!

  • @saadjahakayani5020
    @saadjahakayani5020 2 года назад +1

    bohat shukariya Rahul sahab for explaining in easy terms of language

  • @hirenbhatt9808
    @hirenbhatt9808 3 года назад +1

    GREAT UNDERSTANDING !! MOST RECOMMENDED! I HAVE SHORTLISTED THIS VIDEO OUT OF OTHERS SEEN AROUND MANY!!

  • @sudheerpetluri
    @sudheerpetluri 3 года назад

    Hi Rahul, I am started learning terraform. It's very clear to understand.

    • @RahulWagh
      @RahulWagh  3 года назад

      Glad to hear that, stay tuned there are more to come in upcoming weeks

  • @nagababunalluri5059
    @nagababunalluri5059 Год назад

    This is too late to find this channel.very useful content shared thanks bro

  • @naveenreddy2789
    @naveenreddy2789 Месяц назад

    this is really awesome video i have ever seen 😍

  • @John12685
    @John12685 Год назад +1

    Brilliant job Sir. keep up doing the good work ❣

  • @venkatkatta2154
    @venkatkatta2154 Месяц назад

    Hi Rahul,
    It a very good explanation thanks for that.
    I have one query ,
    Currently you are spin up resource on single location, I want to spin up two locations each location have its owan key and values.
    like central-1 and other region
    is it possible how ?

  • @VNnimbs
    @VNnimbs Год назад

    Thanks a lot Rahul ..... Kudos to ur efforts....!!

  • @nilavasen8631
    @nilavasen8631 Год назад +1

    Dear Rahul, really nice training material. Thanks a lot. Can you please develop and upload a new video on a real-life project kind of stuff on TF to AWS , so that we can get a clear e2e idea on how to actually apply TF in practical projects ? Thanks in advance !!

  • @prasadrao4840
    @prasadrao4840 2 года назад

    outstanding explanation for every step in video, many thanks .

  • @devips5102
    @devips5102 2 года назад

    Excellent sir

  • @shree9660
    @shree9660 6 месяцев назад

    Really thanks for making this video.

    • @RahulWagh
      @RahulWagh  6 месяцев назад

      So nice of you

  • @allwayspositive8359
    @allwayspositive8359 2 года назад

    you are hero sir thanks a lot sir
    your contents are supur

  • @sundeepgarg3502
    @sundeepgarg3502 Год назад

    your videos are very good, before this terraform was confusing for me

  • @happylearningtricks
    @happylearningtricks Год назад

    thank you for your valuable content..!!❤

  • @KrishnaRac
    @KrishnaRac Год назад

    When you give count=2 how does it takes the ami-id for the instance for 2nd instance.

  • @SivaPrasad-ol1gh
    @SivaPrasad-ol1gh 5 месяцев назад

    Thank You so much

  • @DanielWeikert
    @DanielWeikert 2 года назад

    Great work thanks for sharing. Any reason you run init each time? 1 time should be enough or not?
    Do you have a tutorial using terraform for a s3-lambda-glue project? best regards and take care

    • @RahulWagh
      @RahulWagh  2 года назад

      There is no need to run the terraform unit each time, it is absolutely optional. I am planning to prepare terraform lambda project soon

  • @abbaskp3330
    @abbaskp3330 3 года назад +1

    Thank you so much sir..it's really great work. We are able to grasp each explanation..please keep doing, Terraform with gcp for creating dataset and assigning role to group to that created dataset using Terraform.

    • @RahulWagh
      @RahulWagh  3 года назад

      Keep watching there is more to come

    • @shawnisamazin
      @shawnisamazin 2 года назад

      @@RahulWagh I love this tutorial but I dont understand why you introduced count = length (var.user_names) and var.user_names[count.index]. That got me soooo confused. Could you please clarify? @Rahul Wagh

  • @mamtasingh7951
    @mamtasingh7951 5 месяцев назад

    nice content

  • @furrysimbha5647
    @furrysimbha5647 3 года назад

    The AMI specified in this, is it active AMI that you created in your AWS account? I believe its yes.

    • @RahulWagh
      @RahulWagh  3 года назад +1

      I think it should be an active AMI on aws

  • @sumanjaiswal13
    @sumanjaiswal13 3 года назад

    Your videos are awesome, it would be great if upload some content on terragrunt also.

    • @RahulWagh
      @RahulWagh  3 года назад +1

      Will try to prepare something around terragrunt in upcoming weeks

  • @kumarv6706
    @kumarv6706 2 года назад +1

    How to create different tag names (dev, test) for each ec2 instances with variables?

    • @RahulWagh
      @RahulWagh  2 года назад

      There is tag element inside the terraform ec2 block which you can use it

  • @johnk1709
    @johnk1709 2 года назад +2

    Super

  • @vinaykumarpandey1006
    @vinaykumarpandey1006 Год назад

    very nice

  • @kirankumarkkk7661
    @kirankumarkkk7661 Год назад

    Ty.....sir

  • @subhash0609
    @subhash0609 3 года назад

    There are some Running Servers in aws which have No IAM Roles. I can list those servers in a file, and from that file can we apply IAM roles by using Terraform.

    • @RahulWagh
      @RahulWagh  3 года назад

      Yeah sure you can do that and add IAM roles

  • @shivanshusharma20.07
    @shivanshusharma20.07 5 месяцев назад

    Can you cover more topic of gcp int erraform like aws? like tfvars and ssh in gcp?

    • @RahulWagh
      @RahulWagh  5 месяцев назад +1

      It is on the list

    • @shivanshusharma20.07
      @shivanshusharma20.07 5 месяцев назад

      @@RahulWagh Sure sir what is playlist for gcp where all topics are covered?

  • @talhamalik1681
    @talhamalik1681 6 месяцев назад

    watching this TF series in 2024 and thanking to @rahul for your effort for us.

    • @RahulWagh
      @RahulWagh  6 месяцев назад

      You’re welcome

  • @sandv2902
    @sandv2902 2 года назад

    Sir please arrange videos In a sequence and in the link as well

  • @Hitesh_678
    @Hitesh_678 2 года назад

    Hi Rahul, i tried the string using GCp but i get lot of error
    provider "google" {
    credentials = file("gcp-account.json")
    project = "my-project-terraform-351112"
    region = "europe-west4"
    zone = "europe-west4-a"
    }
    resource "google_compute_instance" "default" {
    machine_type = var.machine_type"

    tags = {
    Name= "Terraform e2-micro"
    }
    boot_disk {
    initialize_params {
    image = "debian-cloud/debian-9"
    }
    }

    variable "machine_type" {
    description = "Machine type e2.micro"
    type = string
    default = "e2.micro"
    }
    network_interface {
    network = "default"
    access_config {
    // Ephemeral IP
    }
    }
    }

  • @sudheerpetluri
    @sudheerpetluri 3 года назад

    Rahul please expain in GCP also.

    • @RahulWagh
      @RahulWagh  3 года назад

      Its already there in the Terraform Part 1 - here is the timestamp for the Google Cloud Platform if you want to learn more - ruclips.net/video/jJX6S5JAGpI/видео.html

    • @sudheerpetluri
      @sudheerpetluri 3 года назад

      @@RahulWagh yes i saw that video

  • @user-mb7qe6ro9m
    @user-mb7qe6ro9m 3 года назад

    but u are still hard coding the instance type in variable section.

    • @RahulWagh
      @RahulWagh  3 года назад

      Well yes the idea of this tutorial to show the variables types, so I just hardcoded the instance type into the variable section.
      I agree hardcoding is not recommended way but for this tutorial and to keep the things simple i have hard coded the instance type

  • @korebhagath3976
    @korebhagath3976 2 года назад

    Why you use string .why not list

    • @RahulWagh
      @RahulWagh  2 года назад

      It’s up to you what you wanna use string or list.

  • @kajolbahl872
    @kajolbahl872 2 года назад

    Not good